//
//  ViewController.m
//  refreshTest
//
//  Created by boc on 15/11/20.
//  Copyright © 2015年 bocweb. All rights reserved.
//

#import "ViewController.h"
#import "xpqTableViewController.h"
#import "MJRefresh.h"
@interface ViewController ()
@property (strong, nonatomic) NSMutableArray *data;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(100, 100, 40, 40)];
    btn.backgroundColor = [UIColor blueColor];
    [btn addTarget:self action:@selector(showtable) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn];
    
}
-(void)showtable
{
    xpqTableViewController *tvc = [[xpqTableViewController alloc]init];
    [self.navigationController pushViewController:tvc animated:YES];
}

                               
@end
